import request from '@/utils/request'

export function addPatient(patientDto){
	return request({
		url: '/service-docter/api/v1/patient/addPatient',
		method: 'post',
		data: patientDto,
	})
}

export function update(patient){
	return request({
		url: '/service-docter/api/v1/patient/update',
		method: 'post',
		data: patient,
	})
}